package com.bdqn.qnnews.articel.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author xlzhang
 */
@Data
@Schema(name = "ApAuthorDto 对象", description = "平台管理端发送给app端的作者信息")
public class ApAuthorDto {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "作者名称")
    private String name;

    @Schema(description = "0 爬取数据  1 签约合作商  2 平台自媒体人")
    private Byte type;

    @Schema(description = "社交账号ID")
    private Long userId;

    @Schema(description = "创建时间")
    private LocalDateTime createdTime;

    @Schema(description = "自媒体账号")
    private Long wmUserId;
}